///////////////////////////////////////////////////////////
//  CSendMailView.cpp
//  Implementation of the Class CSendMailView
//  Created on:      21-Sep-2013 9:36:52 AM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#include "CSendMailView.h"
#include "stdafx.h"

using namespace UI;

CSendMailView::CSendMailView(IWindowDirector* director)
{
  this->m_type = IViewCtrl::SENDMAILVIEW_T;
  this->m_parrentWnd = director;
  this->m_checkListPage = NULL;

  // call initialize for create all UI.
  Initialize();
}

CSendMailView::~CSendMailView()
{

}

UI::IViewCtrl::ViewType CSendMailView::GetType() const 
{
	return this->m_type;
}


void CSendMailView::Initialize()
{
  this->SetAttribute<int>("x1", 0);
  this->SetAttribute<int>("y1", 0);
  this->SetAttribute("width", "100%");
  this->SetAttribute("height", "90%");
  this->SetAttribute("backgroundColour", CColour(COLOUR_PAGE));
}


void CSendMailView::Refresh()
{

}


void CSendMailView::ShowView(bool show)
{
  this->SetAttribute("visible", show);
}


void CSendMailView::OnClickedBack()
{

}


void CSendMailView::OnClickedSend()
{

}


void CSendMailView::SetPage(IPage* checkListPage)
{

}